
<%@page import="javax.activation.FileTypeMap"%>
<%@page import="com.wodwl.configuration.ResourceConfiguration"%>
<%@page import="com.wodwl.entity.Resource"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@page import="com.wodwl.entity.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="../templete/head.jsp"  %>
	 <script type="text/javascript" src="../../static/js/resource_list.js"></script>	
	<script type="text/javascript" src="../../static/js/json.debug.js"></script>
    <script type="text/javascript" src="../../static/js/json.htmTable.js"></script>
    <script type="text/javascript" src="../../static/js/resource_grid.js"></script>
    <link rel="stylesheet" href="../../static/css/resource_list.css" type="text/css">


	<style type="text/css">
		
		.mainRight .btn{
			float: right;
			margin-right: 5px;
		}
		.mainRight .title{
			float: left;
			color: #636363;
			font-size: 14px;
			font-weight: bold;
			
		}
		.mainRight .content{
			clear: both;
		}
		.mainRight .content{
			clear: both;
		}
		
		
		img{
			border: none;
			width: 60px;
			height: 60px;
		}
		table.grid tr{
			
		}
		table.grid td{
			text-align: center;
		}
	
	</style>
</head>
<body >
	<%
		pageContext.setAttribute("linkType", "2");
	%>
	
	<%@include file="../templete/banner.jsp"  %>


	<div class="mainRight">
			<div class="mainRightBar">
				<div class="title">编辑信息</div>
			</div>
			<div class="content">
					<form action="/user/info_editor2.do" method="post" class="myform">
					<input type="hidden" name="username" value="<%=user.getUsername() %>">
					<input type="hidden" name="level" value="<%=user.getLevel() %>">
					<table>
						<tr>
							<td>姓名：</td><td><input type="text" name="realname" value="<%=user.getRealname() %>"></td>
						</tr>
						<tr>
							<td>研究方向：</td><td><input type="text" name="research"  value="<%=user.getResearch() %>"></td>
						</tr>
						<tr>
							<td>手机：</td><td><input type="text" name="tel"  value="<%=user.getTel() %>"></td>
						</tr>
						<tr>
							<td>Email：</td><td><input type="text" name="email" value="<%=user.getEmail() %>"></td>
						</tr>
						<tr>
							<td>QQ：</td><td><input type="text" name="qq" value="<%=user.getQq() %>"></td>
						</tr>
						<tr>
							<td>个人主页：</td><td><input type="text" name="web" value="<%=user.getWeb() %>"></td>
						</tr>
						<tr>
							<td>微博：</td><td><input type="text" name="weibo" value="<%=user.getWeibo() %>"></td>
						</tr>
						<tr><td></td></tr>
						<tr>
							<td></td><td ><div class="submit_btn">提交</div></td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>

<%@include file="../templete/footer.jsp"  %>	
<script type="text/javascript">
		$(document).ready(function(){
			$(".submit_btn").button();
			$(".submit_btn").click(function(){
				$(".myform").submit();
			});
			
		});
	</script>
</body>
</html>